# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Bruce <b_a_g99@hotmail.com>

pkgname=groovy-docs
pkgver=4.0.10
pkgrel=1
pkgdesc='Documentation for the Groovy programming language'
url='https://groovy-lang.org/'
license=('APACHE')
arch=('any')
source=("https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-$pkgver.zip")
b2sums=('11cd2dd85b09b0a9bd457b7eb6c78f6864efd17ebd912e617aedc0e5fc1de9be214dca11e8dc796ce0627afab86c7233ddffa76c6161c22946db68aa0114002f')

prepare() {
  find "$srcdir" -type f -exec chmod -x {} \;
}

package() {
  install -d "$pkgdir/usr/share/doc/groovy-$pkgver"
  cp -r "groovy-$pkgver" "$pkgdir/usr/share/doc/"
}

# getver: groovy-lang.org/changelogs.html
